﻿//Application wide object
(function (winjs) {
    "use strict";

    var ApplicationControllerBase = WinJS.Class.define(null,
    {
        services:[],
        serialize: function () {
            throw "you must implement this function to support persistence";
        },
        hydrate: function () {
            throw "you must implement this function to support persistence";
        },
        //Gets a value indicating whether app is in design mode
        isDesignMode: Windows.ApplicationModel.DesignMode.designModeEnabled
    });

    winjs.Namespace.define("MvvmStack", {
        ApplicationControllerBase: ApplicationControllerBase
    });

})(WinJS)